remove unused packages and files