fixes PHP 5.3 syntax compatibility