fix bad console log