catch first empty error