No civil action shall fail and no proceedings therein shall be void for lack of jurisdiction because the complaint or appeal is directed to a court instead of a judge thereof or to a judge instead of the court of which he is judge, provided such complaint or appeal shall be amended prior to trial properly to state the forum to which it is returnable.
Conn. Gen. Stat. § 51-351a
(February, 1965, P.A. 610.)