remove spurrious console.log; fix white space