fixed problems with numbering for wts