Thats the thing, I didnt touch the API and it doesnt have to do with the code i believe. It runs fine.
wired = peripheral.wrap("right")
table = wired.getMethodsRemote("gateReader_0")
stats = wired.callRemote("gateReader_0", "get")
for i, v in pairs(stats) do
print(i..": "..tostring(v))...