make widgets bundle work with new way defining options
make sure tests pass and fix bug for options