:fix: bugs on UTs and fix typos in joinpoint module