fixed problem with child template 'type' property name