Fix if family==null