change warning to stop if no occur or bkgd data exists