fix paths option's test and document