remove unused code and assets