handle a function being aliased multiple times