wrong byte array conversion
forgot to fix it on the client side