Fix bug extraction