correct ambiguous values