fixes, w.r.t. review. fdom interface now includes errors