fixed write in log server