rearrange the atitweak regexs to be more robust.