fix before_filters