only catch TypeError