added auto detect of paths
added more path option
fixed multi services path bug, not auto detect is in the service path scope