The Supreme Court or the Judge may at any time, and on such terms as it or he thinks just, amend any defect or error in any proceedings in the Court; and all necessary amendments shall be made for the purpose of determining the real questions in controversy or otherwise depending on the proceedings.