fixing command-line options