bug fixed: increasing session num in id