remove public config