set selected by val