Remove unneeded height and width