game class fixed