fixed auto-dungeon stuck bug