log fix into file