modifying indentify spec to chomp the trailing /n