making dropdown work. ugly hack