fix issue #5 on github
and update copyright