rm licence, fix the fatal crash bug