fix dropdown issue with firefox