fixed endef typo