Bug with restore db