Fix session_data remain error

Signed-off-by: Connor Yan <126ium@gmail.com>