fix multiple paths at the same time