fix priv path bug