support partial template