Fix spm package