fixed databases issues - arrays are now stored as strings