fix before_filter do