fixed proxy mock creationy by registry