why is check for width and heigh removed?