fix bug with small screens