fixed formatting of slave-check
  More formatting fixes