bug fix, height and width were swapped