Change exception check of TypeError