fix(injector): removed depth, deals with null properly