better debug custom grid