attempt to fix ios bug