modify  for putty