fix exec bugs , for native sql