remove libs, references to libs