fix of BZ 1109892, better types of two attributes

proposed fix for BZ 1109892. is master branch suitable?