some changes to in populating dropdowns