Change system event

Event OnParseDocument works on every tag and so it is very very slow and does one thing for many times.