Fixing a buffer over flow error chomp.