Redid the changes of quihw, made some mistakes in the merge of autoattackfix