fix a bug of wrong path_info