databases are now being locked; without bug that kept locked as copy