add defaults option and fixed bug with multicheckbox field