fix indentation issue
log slave state after initdead