Fixed issues with injection and minification
Removed unused parameter