fix grid interface bug