fixes to width and height