fix popular pill selection