alright but this does not solve the problem of avast not working in safe mode but thanks for the tip