fixed codenarc issue