fixed bugaboo with the log writer in Http