clean nonfinished code