tip detection improvements