better disk cache implementation, null callback arg array size fix