Fix libs to array