fixed a bug related with auth log.