bugfix on property setting