remove warnings about ambiguous arguments