remove redundant specification of width and height