console log cleanup