close splash when error