fixed issue with dropdowns not populating