add a private method to get prefixed end event [_getPrefixedEndEvent]