support PHP5.5