fixed licence issues with PR #28