raid bug fix