Fixed the server getopt