fixed stNum initialisation value bug