Revert change to renderGrid