fix demo for spm3