remove legacy controller