matchplan error fix