fixed problem with setting through a property