fix dropdown rendering