Fix putty bug