fix injection error