built workaround for handlebar templates on swig