trap error for user_groups data migration 0007