modify and add some libs