fixed codenarc violation