parse select element