Fix: default options should have set using index.js

platform index.js should be  responsible for default properties.