Fixed a crash bug when session requests are wrong.