fix height and width objects