remove a warning message of session