fix using other db's
check hash func fix