improved bytes validation