migrage to spm@3.x