fix for issue with wrong injection