fixed the disapperaing text issue. Now the dropdown works perfectly