made OSX and iOS object retrieval same