remove depracted options