Remove deprecated  from config