bug in optparse