fix of BZ 1109892, better types of two attributes
Merge pull request #50 from snurkabill/fixForBZ1109892

fix of BZ 1109892, better types of two attributes