cleanup of libs