fixed console log print