Fix error in log