fix according to codenarc