width and hight was set twice