fix: spm example
Merge pull request #775 from satra/fix/spmexample

fix: spm example