clean db config