It is further established that as a general rule, it is error as a matter of law to make an order respecting custody based on controverted allegations without having had the benefit of a full hearing (see Biagi v. Biagi, 124 AD2d 770 (2d Dept.