Rubocop offenses fixed