cleaned up some linting stuff found on codeclimate.