bugs in MPS solver