fix bart api bugs
Merge pull request #52 from rgoldfinger/bugz/xcode4

fix bart api bugs