fix 'ambiguous' function call