fixing licence types