fixing quick check
fixing looping issue