Fix variable for domain