add support of php 5.3