clean up the options