change the rule of get path