bug fix for dropdown