fix code block whitespace & remove console