before db drop