fixes to handle dat.Interface