try to fix A{A}A case