fixed some bugs for 0.0.6 gem
fixed some bugs for 0.0.6 gem