fix codenarc Integer complaint