fixed bug for sqlbulk copy