supply default layout a different way to work around possible bug in react-forms