Virtual switches (alexa) keep braking

The virtual switch does change state within alexa when changed inside smartthings, but it does not work with alexa routines anymore.