correct command line options processing