Missed error message refactoring from profile => repository code refactoring.