removing remnants of php days