Replaced "".getBytes with Array[Byte]()