null print bug corrected