Fix errors introduced in dfc2ae3

Forgot to change some calls of handleMessage