refactor to correct spelling of license