look for end event instead of finish