fixes for family and bugfixes for real-time.