fix bug that shows up on ipad