Session bug fixed