get rid of null printing