fix device bootstrap (empty database) bug