Added the fields attribute when saving a box