Fixed issues with dropdown box