fix 'Bad data!' fails