renderPartial when template is compiled, fix #3