fix #515, add missing license header
Merge pull request #520 from hojs/master

fix #515, add missing license header