fix whitespace issues on ipad