windows plot error fix