Repair of broken templates, deleting wrong directory
Repair the code source and directory