fixed dropdown bug