Fix usage of this which isn't correct given the context

* the function is called from.