Correct a line that has been forgotten while a past refactoring and remplace a few line by an existent function.