cleaned up so database always has an empty array of ideas when loaded