main-helper: clean license text