det grid from deprecated api