fixed broken inject