change frame header to use unsigned char