Merge pull request #25 from acmerfight/master

fix bug: dict type has no method remove
fix code format
Merge remote-tracking branch 'shard/master'