fixed L08 creating game objects on usage of switch