clean config db