LOOP remove illegals and recode negatives