finish all forms and query