Fixing buffer issue overt lan