fixing broken drop down bug