fix recontruct problem for mysql