fixing event_image model syntax error