fix of db storage