fixing looping issue