fix spmjs/spm2#36