fix break in heroku, change before_action to before_filter