fix in router - double callback executing if add it while triggering callbacks for the same route