got getBytes(UTF-8); rather than getBytes()
got getBytes(UTF-8); rather than getBytes()
Fixed synchronization issues