fixed EC_OPTION bug