fix error on splash page, which leads to the splash page again and again