wrong index in FlexForm of #events2