delete redundant library and other stuff