handled TypeError