fix bug: domain validate problem;
update sql.