before_filter on refs only