bugfix for case-sensitive in optparse