migrate to spm@3.x