remove unnecessary route and add cancel function(not done yet)