fix typo & add once context test
fix once context