note log() fix