Fixed addHandler.