remove dangerous function from admin, add new sql in Auto