Used gsub! when I meant gsub in annotations_helper. Fixed now.