cleaning app code