modified check roundEnd