fix execute_sql