修复了location_sql的bug