Replaced wrong template variable