can not change resolution it crashes the game