fix error for file log