handle broken data