Fix dropdown bug