fix html_on and logging in worker