fix SqlQuery register