removed redundant chomp