fix bug of creating select with multiple choises