changed the screensize to unsigned values