fix has zend\db instance bug