make error view variable