change the name of exceed argument to on_exceed