removes ref to messenger