fix dropdown box does not refresh