fix type location miss