Corrected some usages of domain to origin