some bug fixes, SPCComparator is still wonky