bugfix event duration