fixes bug with handling actions within messengers