fixed injection problem