To fix bug of dummy db and modify some ui