minor change to select()