fixed raid detection