error checks splash screen