A compound having the structure of formula: wherein: n is 0, 1, 2, 3, or 4; m is 0, 1, 2, 3, or 4; q is 0 or 1; W 1 is N and W 2 is C(R w); W 3 is CH 2 or NH; R w is hydrogen, halo, or optionally substituted alkyl; A' is NR 5 R 4, OR 4, or NR 5 C R 4; each R 1 is independently halo, cyano, optionally substituted alkyl, optionally substituted haloalkyl, optionally substituted alkoxy, hydroxy, optionally substituted sulfonyl, optionally substituted aryl, optionally substituted alkenyl, optionally substituted heteroaryl, optionally substituted cycloalkyl, or optionally substituted heterocycloalkyl; each R 2 is independently halo, cyano, optionally substituted alkyl, optionally substituted haloalkyl, optionally substituted alkoxy, or optionally substituted sulfonyl; R 3 is hydrogen, optionally substituted alkyl, optionally substituted haloalkyl, optionally substituted cycloalkyl, or optionally substituted aryl; R 4 is a monocyclic heteroaryl optionally substituted with one, two, or three members independently selected from halo, cyano, optionally substituted alkyl, -NH 2, and alkynyl; R 5 is hydrogen or optionally substituted alkyl; or R 5 and R 3 together with the atoms to which they are attached optionally form an optionally substituted heterocyclic ring; R 6 is hydrogen, optionally substituted alkyl, optionally substituted heteroalkyl, optionally substituted alkoxy, optionally substituted haloalkyl, optionally substituted sulfonyl, optionally substituted cycloalkyl, optionally substituted heterocycloalkyl, optionally substituted aryl, or optionally substituted heteroaryl; and R 7 is hydrogen, or a pharmaceutically acceptable salt, isomer, or a mixture thereof. n is 0, 1, 2, 3, or 4; m is 0, 1, 2, 3, or 4; q is 0 or 1; W 1 is N and W 2 is C(R w); W 3 is CH 2 or NH; R w is hydrogen, halo, or optionally substituted alkyl; A' is NR 5 R 4, OR 4, or NR 5 C R 4; each R 1 is independently halo, cyano, optionally substituted alkyl, optionally substituted haloalkyl, optionally substituted alkoxy, hydroxy, optionally substituted sulfonyl, optionally substituted aryl, optionally substituted alkenyl, optionally substituted heteroaryl, optionally substituted cycloalkyl, or optionally substituted heterocycloalkyl; each R 2 is independently halo, cyano, optionally substituted alkyl, optionally substituted haloalkyl, optionally substituted alkoxy, or optionally substituted sulfonyl; R 3 is hydrogen, optionally substituted alkyl, optionally substituted haloalkyl, optionally substituted cycloalkyl, or optionally substituted aryl; R 4 is a monocyclic heteroaryl optionally substituted with one, two, or three members independently selected from halo, cyano, optionally substituted alkyl, -NH 2, and alkynyl; R 5 is hydrogen or optionally substituted alkyl; or R 5 and R 3 together with the atoms to which they are attached optionally form an optionally substituted heterocyclic ring; R 6 is hydrogen, optionally substituted alkyl, optionally substituted heteroalkyl, optionally substituted alkoxy, optionally substituted haloalkyl, optionally substituted sulfonyl, optionally substituted cycloalkyl, optionally substituted heterocycloalkyl, optionally substituted aryl, or optionally substituted heteroaryl; and R 7 is hydrogen,