changed bootstrapping order
added notice for locked db