iOS - Element found using appium-desktop, but not when using the Java client

I am currently trying to automate an iOS app and I am running into an issue where I can’t find an element that is on the screen. Using the Appium Desktop inspector I can see the element has the accessibilty id of “ic navbar close”, in appium desktop I can use that in a search and it finds the element. In my automation using the Java Client (5.0.0BETA-9) when I try to use @iOSFindBy(accessibilty = "ic navbar close") to populate a variable it throws a no such element exception. I also tried using a predicate string that worked in appium-desktop, but did not work in my automation. Any ideas?

Nevermind, my app was just loading slower than normal. I added a wait and everything was fixed.