Fixed templates custom path issue