bug fix: inject function wrong call