fixed bug of finish timing