removes uncessessary injections