more bad data handling