fixed bug for similar to class generation
Merge pull request #14 from iGuzenko/master

fixed bug for similar to class generation