lib repair