restores templates path