fixed undef value
nicer error message on performance page if logcache is unavailable
avoid deep recursion in http driver
fixed undef value