Fixed bug in dropdown