handle undefined options in toss
support before goto event