fixing log