modify inject impl