3.6.2. fixed a afd bug