fixed PHP 5.1 incompatibility introduced with commit 9644465b