fixed injection error