fix 'has the same name as the class in which it is declared'