Fixing prioritization and payoff related errors