fix game finish