fix bug in access log