fix local db , with pseudo local flga