added fix for iPhone