Fix nil pointer reference