fixed bug in the sub-event parser