fix name mismatch bug in the option parser code