add error view wrapper and applied