remove libs etc.