fix dropdown bug