fix bug with unset property