fix game bug