Fix incorrect console log