Fixed prettier printing in log