fix looping in code execution when there is a bug in code