remove controller code