Fix sp history

addresses 402