Fix bug in BAO slim