fix bugs in Tuan4j-core 0.2-beta1