Fixed a bug in the format fo unsinged long n=>N