support for php5.3