first part of acdc db cleanup