remove legacy conf