Global vars work around no longer needed
Fix var name in remoter