can't figure out why store.main isn't working when initialized with parsed objects