That is why it has been suggested numerous times that you read the Working with Messages page and in particular learn how to get the path to a variable by clicking the appropriate button in debug pane, from where you can paste it directly into your function.