fixed eval getopt