Fix for ios