fix to avoid restart when useless
fix some logs