Fix error on log