Remove resources and fixing a path