Trying to fix bug on iPad