thead mysql bug