fixes DzCoding/JapKatsuyou#14

Sorry @zsmahi , I fixed it because I changed most of the code