fix a bug in number seq