modify sendmessage for castmanager