Fix route missing a $this for a variable