Jojo Event - php5.4 fix