remove unused methdo from controller.