Fix ios7 fix for production