restore php5.3 compatibility. thx for Kihokki for reporting that