Fixed rubocop style errors