Attemping a typeerror fix (getProxy not a method)