fixed option bug --KW