fix grid rollover