fixing bug where user cannot click the dropdown to autocomplete