fix Event.php
_gallery.php