stop infinite looping in parsing block