fix nested form error