Fixing issue on options passing to before_filter