clean original code