Fix resources + rubocop