noticed a compatibility problem with PHP 5.2 and older