add path_prefix support