fix ldb running