Fix bug access without logging