replace index
lib replaced