Fixed a bug in gsea tail