added dataerror catcher