fixed error in log