fixed console to display prettily