minor change to how the width and height are treated