bugs in iOS screen on code