changed max width and height