remove warnings in EventDetail