fixed bugs in setup raid script
fixed another bug in setup raid script