fix display bug on dropdown menu