Error fix (Support of BadNode added).