After changing the talents the macro is broken

hello I have a problem with my mm hunter macro … and when I change talents the macro no longer works properly and I have to relog first … so it no longer makes the correct rota but leaves off steady shot, for example … after a relog, everything works properly again with the new talents