fix two bugs in siminfo which cause infinite loop; fix anoter one in CutoffGroup which causes seg fault