added the continuous numbering fix #3