fixed bug in game model