fix some EE 2.6+ deprecation warnings, use ee() instead of $this->EE