Fixes issue with proxy activation on runtime