another fix for sqlId -> sql_id