fix session error messgae