User session crushed bug fix