Fixed the syntax to comply PHP 5.3