fix spm package