fixes showAlert