Fixing stupid iOS bug