Fixed SmartView to encode url_params and include refresh(..)