corrects the option mapping