fix dropdown list bugs