fixing semi error selection method