injecting decoder into proxy