add more logs
fix HA bug