fixed a bug in find blobs