chang router hanle func