fixed early finish bug