fix scale domains