Delete useless licences