patch #2199

Don't know what's actually causing the problem, but at least now it
doesn't break