fix a crash about private piles