Changed order of active and defined domains