fix plugin dom elements view issue