License type bug fix