fixed bug in setup raid script