cleanup option parser