fixed game bug