Fixed errors in game