Fix for session timeout error