FIX: possible fix for the locked database found