Finish parse event code