adding error view