fix for "ReferenceError: store is not defined" in pushMessage