changed nested form to simple form