fixed byte[] problem