Fix top pips detection