fix pill dropdown issue