fix rubocop complaints