[#68387794] fixed bug on error messages

when user gets an error and then revisits the homepage the error message is no longer there

Signed-off-by: Nathanael Burt <nathanael.burt@gmail.com>