Fix bug with analyzer