improving printing, fixing little syntax issue in utils.h