made dropdown menu work better