more correct fix for template rendering problem
release a better bug fix for template execution on dreamhost