FIX: resourcetracker, NULL dereference in finding parents