fix invalid error callback in processIncludeItem