in class init data to nullptr; fix accidentally using & instead of %