fix to escape log