get rid of null string reference