fix spmjs/spm2#52