fixed $this in static methods