fix named route issue