fix width and height issue