fix grid case mumber