fix render flash view issues