gmdate fix on index