fix two libs