cleaning up nested forms