wip - fix for template formatting & gem load path error