fix create window error in console
Rename supported. Issue #23.