bug fixed

Test case 08a passed!

When there is no conditionAttribute is the scan function, what we
should do is to traverse the whole file one by one.