fix bug variable name incorrect: object instead of context