Merge pull request #1 from spmjs/master

bug fix