fix #5, spmjs/spm#764