fixed a problem with select one