remove unused app code