fix a part of php