hopefully final fix for ios devices