remove error trapping