Fix most of rubocop warnings