fix a bug in dropdown docs