fix the rubocop warnings