remove an unused function from controller base