Fix name function.