clean up console logging