fixed console log