regeneration of libs with errors