added lookup of ESP_NULL