revise return value of option node