fixed bugs @ nozology_code template