Fixed injecting bug