Fix invalid injection