fixed a ios max width and height sizes