fix $this bug in a few spouts