fixing nested form