fixe unexpected read db behavior