fixed two small bugs in setup raid script