fixed a drop-down menu bug