Fixed option name for end event