fixed bug on render the drop down list