removed null ptr init