deep extend fix