fix syntax error for PHP 5.4.16