fixed a bug in the plausibility checker code