fix, added helper for template