fixed a bug that use v1 interface; fix a bug that rake can not pass parameter; now it work!