fixup
try using write_handler_response; doesn't fix it