fixed dropdown state not default issue