fixed error on "expose default options" feature