fixed issues with old screen sizes