fix data insert issue