fixing width and height stuff