fix rubocop errors found by travis