remove ratio check
Bugfix in height and width checks