Correction of invalid $this call