Add issue 80 code

about this issue [#80](https://github.com/spmjs/spm2/issues/80)