Correct rubocop errors