*Fix width to height type

Fix a probable issue #1