ProcessOptionHelper: fix bug