improve grid
tune my simple client
optimize header struct