Fixed HBSTemplateFromString