delete related objects if FK is required