added clause to getlocaldata to always go to server