guard against undefined store