fix support for dynamic view