minor game logics fixes