Fix view path for erros