Fixed multiple path bug