clean up DIY injector code