Possible fix for injecting arrays