bug fix: duplicate processing instruction bug fixed