fixing file log error