fix manage double DB