only catch typer errors