check bytes