bug involving multiple paths fixed