attempted fix of iOS bug