more codeclimate fixes

now shut up