fix for width and height