slight bug fix for iPad