fixed error in preventing empty caveman_strings and caveman_alignments