fixed bug with default option in the select input