handling more invalid data