licence bug fix