repair of last commit