remove config and db