Keep $this context even in error check