fixed borked templates