bug fix and license