fix packaging error
fix template search path