Fix for php5.3 (demo purpose)