Fix gr length.