Fixed incorrect state/error message on repair
Fixed an incorrect error message error