correct check data looping issue