fix to enable selects to be put inside dropdown