fixed double inject bug