Console: Fix error $this context