fix the controllers after removing new templates