fix for local api on iOS 7, also fixes the getPublicUserInfo API