Replace h->left_type[0] by the local variable for it we have.