get rid of embarrassing loop check