addHandler signature fix