Fix issue with wrong random injection