ambiguous bug fixed