refactor license related sentences