d'oh! fix using $this in static context