fix an old bug
Merge pull request #2 from Windynightst/master

fix an old bug