fixed the dropdown not closing bug
adding min version