fix bug in option word processing