bug fix in indexer, don't force threshold
fixed some argument passing