iOS fixes
not test mode