handle null bytes from getData request