minor fixes to sps