fix multiple path issue