fix a few problems on sample import in eclipse, still does't working see
#15