fixes #3

removes the 5.3.x PHP Fatal error: Using $this when not in object context