protect against overwriting width/height