locate type error trigger