clean up source tree and unnecessary deps