adjust in zend_fetch_resource num_resource_types