re #18 The "this" variable was pointing to the wrong object, this has now been fixed.