fix the bug that private pile is available for AI