fix can't detect by mysql