Correct a `this` to `self`

This is a small fix to use `self` instead of `this`. this references the callback function and not the main method.