checkFinish fixed