fix a problem with the reduce screen size