bug fix

fixed error when setting "height" or "Width"