fix BAO references in views