hopefully fix some codeclimate warnings