fix codeclimate reporting
code review fixes