addressed null case concerns, template will now generate [blank] instead of method call string