fix string arrays
hash style
few style fixes